/*
 * Copyright (c) 1989 - 1999 Microsoft Corporation
 */

#include "precomp.h"
#pragma hdrstop

#include "mrxglobs.h"


NTSTATUS
HwFsFsCtl(
    IN OUT PRX_CONTEXT RxContext)
{
    // FSCTL over the file
    NTSTATUS Status = STATUS_INVALID_DEVICE_REQUEST;

    HWFS_DBG_PRINT(DBG_TRACE, DBG_FILEEA, ("HwFsFsCtl[0x%08x] -> %08lx\n",
        RxContext->CurrentIrpSp->Parameters.FileSystemControl.FsControlCode,
        Status));
    return Status;
}


NTSTATUS
HwFsNotifyChangeDirectoryCancellation(
    PRX_CONTEXT RxContext)
{
    // Invoked when a directory change notification operation is cancelled.
    UNREFERENCED_PARAMETER(RxContext);

    return STATUS_SUCCESS;
}


NTSTATUS
HwFsNotifyChangeDirectory(
    IN OUT PRX_CONTEXT RxContext)
{
    UNREFERENCED_PARAMETER(RxContext);

    HWFS_DBG_PRINT(DBG_WARN, DBG_ANY, ("HwFsNotifyChangeDirectory() not implemented\n"));

    return STATUS_NOT_IMPLEMENTED;
}

NTSTATUS
HwFsQuerySecurityInformation(
    IN OUT PRX_CONTEXT RxContext
    )
{
    HWFS_DBG_PRINT(DBG_TRACE, DBG_FILEINFO, ("HwFsQuerySecurityInformation() not supported\n"));
    return STATUS_INVALID_DEVICE_REQUEST;
}


NTSTATUS
HwFsSetSecurityInformation (
    IN OUT struct _RX_CONTEXT * RxContext
    )
{
    return STATUS_NOT_IMPLEMENTED;
}

/*
 * WML stuff
 */
BOOLEAN WmlpFindGuid(
    IN PVOID GuidList,
    IN ULONG GuidCount,
    IN PVOID Guid,
    IN PULONG GuidIndex)
{
    return FALSE;
}

NTSTATUS WmlTinySystemControl(
    IN OUT PVOID WmiLibInfo,
    IN     PVOID DeviceObject,
    IN     PVOID Irp)
{
    return STATUS_WMI_GUID_NOT_FOUND;
}

ULONG WmlTrace(
    IN ULONG Type,
    IN PVOID TraceGuid,
    IN ULONG64 LoggerHandle,
    ... /* Pairs: Address, Length */)
{
    return STATUS_SUCCESS;
}


ULONG WmlPrintf(
    __in ULONG Type,
    __in LPCGUID TraceGuid,
    __in ULONG64 LoggerHandle,
    __in PCWSTR FormatString,
    ... // printf var args
)
{
    return STATUS_SUCCESS;
}
